package com.bnu.employment.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bnu.employment.Entity.Employment;

import java.io.Serializable;

public interface EmploymentMapper extends BaseMapper<Employment> {

	int deleteById(Serializable eid);

//    @Select("<script> SELECT * from employment" +
////            "<where>"+
////            " <if test='pa != null'> and (company like "%"#{pa}"%" or location like "%"#{pa}"%" or office_location like "%"#{pa}"%" or position like "%"#{pa}"%")</if> "+
////			" <if test='major_type != null'>and major_type = #{majorType}</if> "+
////			" <if test='office_location != null'>and office_location = #{officeLocation}</if> and e_type = #{eType} order by eId desc" +
////            "</where>"+
////            "</script>")
////    List<Map> findEmployment(Map param);

}
